package com.syq.controller;

import org.omg.PortableInterceptor.INACTIVE;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName: SecKillController
 * @Description: TODO
 * @Create by: syq
 * @Date: 2022/8/22 20:14
 */

@RestController
public class SecKillController {
    //商品
    private static Map<String, Integer> itemsMap=new HashMap<>();
    //订单
    private static Map<String, Integer> ordersMap=new HashMap<>();

    static {
        itemsMap.put("牙刷",10000);
        ordersMap.put("牙刷",0);
    }

    @GetMapping("/kill")
    public String kill(){




        return null;
    }
}
